package com.eric.demo.io.nio;

/**
 * @author ZhangGuangyin on 2018/8/11
 */
public class TimeClient {

    public static void main(String[] argvs){
        int port = 8080;
        if(argvs != null && argvs.length > 0){
            port = Integer.valueOf(argvs[0]);
        }
        ClientTimeHandle clientTimeHandle = new ClientTimeHandle("127.0.0.1", port);

        new Thread(clientTimeHandle, "Time-Client001").start();
    }
}
